package com.centriole.service.exuser;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@SpringBootApplication
public class ServiceExUserApplication extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        System.out.println("启动:" + ServiceExUserApplication.class);
        return application.sources(ServiceExUserApplication.class);
    }
    public static void main(String[] args) {
        SpringApplication.run(ServiceExUserApplication.class, args);
    }
}
